<!DOCTYPE html>

<html>

<head>

    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <meta charset="UTF-8">

    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/reset.css">
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/popup.css">
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/progressbar.css">

<?php
    $baseUrl = Yii::app()->baseUrl;
    $cs = Yii::app()->getClientScript();
    $cs->registerCoreScript('jquery');
    $cs->registerCoreScript('jquery.ui');
    // SIMPLE PROGRESSBAR
    $cs->registerScriptFile($baseUrl.'/libraries/simpleprogressbar/jquery_simple_progressbar.js');
?>

</head>


<body>

    <div id="popup-wrapper">


    <div id="popup-content">
        <?php echo $content; ?>
    </div>

    </div>

</body>

<script type="text/javascript">
    $(function(){
        $('.progressbar').simple_progressbar({height: '10px',
            internalPadding: '4px',
            normalColor: '#3F4C66',
            backgroundColor: '#dddddd'});
    });
</script>

</html>